 
function loadstat(paramstr,basePath,type){
	var url = basePath ;
	if("1" == type){
		url = basePath + 'stat/statone.do'+encodeURI(paramstr);
	}else if("2" == type){
		url = basePath + 'stat/stattwo.do'+encodeURI(paramstr);
	}else if("3" == type){
		url = basePath + 'stat/statthree.do'+encodeURI(paramstr);
	}else if("4" == type){
		url = basePath + 'stat/statfour.do'+encodeURI(paramstr);
	}
	$.ajax({   
        type:'GET'  
        ,url: url  
        ,data:'',                           
        contentType:"application/x-www-form-urlencoded;charset=UTF-8",  
        beforeSend:function(data){   
          
        }//发送请求前   
        ,success:function(data){    
        	var dataarr = data.split(',');
        	for(var i=0;i<dataarr.length;i++){
        		var temp = dataarr[i];
        		var temparr = temp.split('#');
        		var idstr = temparr[0];
        		var valuestr = temparr[1];
        		var pageid = '#'+idstr;
        		$(pageid).html('(<font color=#FF0000>'+valuestr+'</font>)');  
        	}
              
        }//请求成功后   
        ,error:function(data){   
               
        }//请求错误   
        ,complete:function(data){    

        }   
    });    
} 
/**
 * 获取页面对象
 * @param a
 * @returns
 */
function ge(a) {
	return document.getElementById(a)
}